window: Fix an oversight
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Aug 2020 14:51:47 +0000 (10:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 10 Aug 2020 20:36:36 +0000 (16:36 -0400)
commite9d03d06fec13a0e94656f0de20b742326478c14
tree979d042c6aad2d92b1aeb9725059150d1f8a90eb
parent63fb2126dbc79fde9d44c85c26b8bfecc876e699
window: Fix an oversight

Commit 658719a205bfcf moved the call to
gtk_window_compute_default_size() outside the
if (priv->needs_default_size)
but unfortunately, that function cleared that field,
so we never entered the branch.

Keep the setting of priv->needs_default_size in the
branch, where it belongs.
gtk/gtkwindow.c